package com.kingsoft.miot.bridge.pojo.hotel;

import java.util.Date;

import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * 房间（户） 信息
 * 
 * @author melody
 *
 */
public class HouseInfo {

	// 房间id
	private int house_info_id;
	// 单元名称 由酒店管理者添加
	@NotBlank
	private String house_info_name;
	// 房间编号
	private int house_info_num;
	// 酒店id
	@NotEmpty
	private int hotel_info_id;
	// 控制单元 id
	@NotEmpty
	private long control_unit_id;
	// 房间状态
	private short house_info_status;
	// 户 楼层高度
	private int house_info_floors_total_num;
	// 户设备数
	private int house_info_devices_total_num;
	// 户在线设备数
	private int house_info_devices_online_num;
	// 户创建时间
	private Date house_info_create;
	// 户 最后修改时间
	private Date house_info_update;
	// 当前客户控制次数
	private int house_info_control_times;
	// 历史客户控制次数
	private int house_info_history_times;
	// 用户移动号码
	private int user_mobile;
	// 用户ID
	private Integer user_id;

	private Date last_login_time;

	private Date last_operate_time;

	public int getHouse_info_control_times() {
		return house_info_control_times;
	}

	public void setHouse_info_control_times(int house_info_control_times) {
		this.house_info_control_times = house_info_control_times;
	}

	public int getHouse_info_history_times() {
		return house_info_history_times;
	}

	public void setHouse_info_history_times(int house_info_history_times) {
		this.house_info_history_times = house_info_history_times;
	}

	public int getUser_mobile() {
		return user_mobile;
	}

	public void setUser_mobile(int user_mobile) {
		this.user_mobile = user_mobile;
	}

	public int getHouse_info_num() {
		return house_info_num;
	}

	public void setHouse_info_num(int house_info_num) {
		this.house_info_num = house_info_num;
	}

	public int getHotel_info_id() {
		return hotel_info_id;
	}

	public void setHotel_info_id(int hotel_info_id) {
		this.hotel_info_id = hotel_info_id;
	}

	public short getHouse_info_status() {
		return house_info_status;
	}

	public void setHouse_info_status(short house_info_status) {
		this.house_info_status = house_info_status;
	}

	public int getHouse_info_floors_total_num() {
		return house_info_floors_total_num;
	}

	public void setHouse_info_floors_total_num(int house_info_floors_total_num) {
		this.house_info_floors_total_num = house_info_floors_total_num;
	}

	public int getHouse_info_devices_total_num() {
		return house_info_devices_total_num;
	}

	public void setHouse_info_devices_total_num(int house_info_devices_total_num) {
		this.house_info_devices_total_num = house_info_devices_total_num;
	}

	public int getHouse_info_devices_online_num() {
		return house_info_devices_online_num;
	}

	public void setHouse_info_devices_online_num(int house_info_devices_online_num) {
		this.house_info_devices_online_num = house_info_devices_online_num;
	}

	public int getHouse_info_id() {
		return house_info_id;
	}

	public void setHouse_info_id(int house_info_id) {
		this.house_info_id = house_info_id;
	}

	public String getHouse_info_name() {
		return house_info_name;
	}

	public void setHouse_info_name(String house_info_name) {
		this.house_info_name = house_info_name;
	}

	public long getControl_unit_id() {
		return control_unit_id;
	}

	public void setControl_unit_id(long control_unit_id) {
		this.control_unit_id = control_unit_id;
	}

	public Date getHouse_info_create() {
		return house_info_create;
	}

	public void setHouse_info_create(Date house_info_create) {
		this.house_info_create = house_info_create;
	}

	public Date getHouse_info_update() {
		return house_info_update;
	}

	public void setHouse_info_update(Date house_info_update) {
		this.house_info_update = house_info_update;
	}

	public Integer getUser_id() {
		return user_id;
	}

	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}

	public Date getLast_login_time() {
		return last_login_time;
	}

	public void setLast_login_time(Date last_login_time) {
		this.last_login_time = last_login_time;
	}

	public Date getLast_operate_time() {
		return last_operate_time;
	}

	public void setLast_operate_time(Date last_operate_time) {
		this.last_operate_time = last_operate_time;
	}

	@Override
	public String toString() {
		return "HouseInfo{" +
				"house_info_id=" + house_info_id +
				", house_info_name='" + house_info_name + '\'' +
				", house_info_num=" + house_info_num +
				", hotel_info_id=" + hotel_info_id +
				", control_unit_id=" + control_unit_id +
				", house_info_status=" + house_info_status +
				", house_info_floors_total_num=" + house_info_floors_total_num +
				", house_info_devices_total_num=" + house_info_devices_total_num +
				", house_info_devices_online_num=" + house_info_devices_online_num +
				", house_info_create=" + house_info_create +
				", house_info_update=" + house_info_update +
				", house_info_control_times=" + house_info_control_times +
				", house_info_history_times=" + house_info_history_times +
				", user_mobile=" + user_mobile +
				", user_id=" + user_id +
				", last_login_time=" + last_login_time +
				", last_operate_time=" + last_operate_time +
				'}';
	}
}
